//电子申报审核(移动端)
import request from '@/utils/request'

/**
	"cmch": "",
	"hx": 0,
	"pageNum": 0,
	"pageSize": 0
 *
 * @returns {AxiosPromise}
 */
export function getMobileApplicationList(data) {
  return request({
    url: `/yxdd/dzsb/list`,
    method: 'post',
    data
  })
}

/**
 *
	"bz": "",
	"dqcz": "",
	"dqczid": 0,
	"ejqd": "",
	"ejqdh": 0,
	"ejzd": "",
	"ejzdh": 0,
	"gzsbid": 0,
	"hwzl": "",
	"hwzlid": 0,
	"ids": [],
	"qdfx": 0,
	"sbhxid": 0,
	"sfsz": 0,
	"ssdl": "",
	"ssdlid": 0,
	"wxp": 0,
	"yjqd": "",
	"yjqdh": 0,
	"yjzd": "",
	"yjzdh": 0,
	"zdfx": 0,
	"zt": 0

 * @param data
 * @returns {AxiosPromise}
 */
//用于审核?
//必传 zt sfsz gzsbid sbhxid(有就传值，没有传空不传都行） dqcz  dqczid ssdl wxp
export function doMobileApplicationAudit(data){
  return request({
    url: '/yxdd/dzsb/saveGzsb',
    method:'post',
    data
  })
}

/**
 * 获取申报详情, 用于查看 船民填报的信息 和 审核???
 *
	"gzsbid": 0,
	"sbhxid": 0,
	"sfsz": 0
 *
 *
 * @param data
 * @returns {AxiosPromise}
 */
export function getMobileApplicationDetail(data){
  return request({
    url: '/yxdd/dzsb/getGzsb',
    method:'post',
    data
  })
}
